% %the first
% X=[0.01,0.02,0.03,0.04];
% Y=[0.5040,0.5080,0.5120,0.5160];
% [C,L]=lagran(X,Y)


% %the second
X=[0.01,0.02,0.03,0.04,0.05,0.06];
Y=[0.5040, 0.5080, 0.5120, 0.5160, 0.5199, 0.5239 ];
 [C,L]=lagran(X,Y)
